<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .pagination {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .pagination li {
            display: inline-block;
            padding: 20px;
        }
    </style>
</head>
<body>

<table border="1" align="center" width="700">
    <tr>
      <th>编号</th>
      <th>姓名</th>
      <th>性别</th>
      <th>邮箱</th>
      <th>价格</th>
      <th>时间</th>
    </tr>
    {foreach $list as $key=>$obj}
    <tr>
        <th>{$key+1}/{$obj->id}</th>
        <th>{$obj->username}</th>
        <th>{$obj->gender}</th>
        <th>{$obj->email}</th>
        <th>{$obj->price}</th>
        <th>{$obj->create_time}</th>
    </tr>
    {/foreach}
</table>

<table border="1" align="center" width="700">
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>性别</th>
        <th>邮箱</th>
        <th>价格</th>
        <th>时间</th>
    </tr>
    {/*volist name='list' id='obj' offset='4' length='5'*/}
    {/*volist name='list' id='obj' mod='2' empty='没有数据！'*/}
    {/*eq name='mod' value='0'*/}
    {volist name='list' key='key' id='obj'}
    <tr>
        <th>{$key}/{$obj->id}</th>
        <th>{$obj->username}</th>
        <th>{$obj->gender}</th>
        <th>{$obj->email}</th>
        <th>{$obj->price}</th>
        <th>{$obj->create_time}</th>
    </tr>
    {/*/eq*/}
    {/volist}
</table>

<table border="1">
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>性别</th>
        <th>邮箱</th>
        <th>价格</th>
    </tr>
    {volist name='list' id='user'}
    <tr>
        <td>{$user.id}</td>
        <td>{$user.username}</td>
        <td>{$user.gender}</td>
        <td>{$user.email}</td>
        <td>{$user.price}</td>
    </tr>
    {/volist}
</table>

{$list|raw}


</body>
</html>